#ifndef STUDENT_H
#define STUDENT_H

#include <QObject>

class Student : public QObject
{
    Q_OBJECT
public:
    explicit Student(QObject *parent = nullptr);

signals:

public slots:
    //槽函数：返回值void 可以有参数，要被实现，可以被重载

    void treat();

    //重载版本
    void treat(QString);
};

#endif // STUDENT_H
